package thread;

public class RunningMan1 extends Thread {
    private String personName;

    public RunningMan1(){

    }

    public RunningMan1(String name){
        this.personName = name;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    //线程执行
    @Override
    public void run() {
        for (int i = 0; i < 100; i++){
            System.out.println("跑到了第"+i+"步");
        }
    }
}
